package com.eleks.study.main;

public class Person {
	private String name;
	private String surname;
	
	public Person() {
		this("","");	
	}
	
	public Person(String name, String surname) {
		this.name = name;
		this.surname = surname;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}	
	 
	public String toString() {
		return "Person["+name+","+surname+"]";
	}

}
